<?php
// print_r($_FILES) ;
//文件存储的格式：Array
// (
//     [myimg] => Array
//         (
//             [name] => bg_flower.gif
//             [type] => image/gif
//             [tmp_name] => C:\Windows\php1B50.tmp
//             [error] => 0
//             [size] => 4587
//         )

// )
$path=$_FILES['myimg']['tmp_name'];
move_uploaded_file($path,"./uploadimg/".$_FILES['myimg']['name'])
?>